home *** CD-ROM | disk | FTP | other *** search
-
- TLCDLabel v1.2 - The Electronic looking label for Delphi!
- --------------------------------------------------------------
-
- Copyright 1997, Amitron Electronics
- Peter Czidlina
-
-
- LCDLabel update for Delphi 2 and 3 (yes, You are reading correct)!
-
- This is more or less a final version of the 1.X series. Next time I will
- something on this lablel, I will make it 2.0.
- The label You will find here is a result of my interest in electronics
- and especially the ways to display information on electronic devices.
- I think also this label is the first of it's kind - after surfing around
- on the Web, I could not find any that works in this way.
- So, I decided to make one.
-
- What is now so remarkable with this label?
- It does not support anyting You normally find in all custom labels -
- 3D effects, rotation or shaded colors. It doesn't even supports the system
- fonts...
- What does it do?
- It simulates the well known Alphanumeric dot-matrix LCD displays, commonly
- used on lot's of electronic equipments.
-
-
- What is new comparing to version 1.1?
- -------------------------------------
-
- Delphi 3 - The label are now 32bit only - Delphi 2 and 3 are supported.
- Delphi 1 users should use version 1.1 instead (included in this
- package).
-
- Appearance - Beveled border and shaped LCD-pixels.
-
- New Font - Hitachi2, one visually improved version of the Hitachi font.
-
- A Web page and new e-mail - I have now a support page for my components.
- There You can download the latest of my components and apps made
- with Delphi.
- This has also changed my e-mail address.
-
-
- NOTE! Because of the optimized redraw of the label, sometimes the update of
- the caption during design are failing. This is not critical and does NOT
- affect the display during run-time execution. If it is important I can find
- out a way to fix this but then I need to know if there are any interests
- (and how it is possible to recognize running in design or run-time with code).
-
-
- The rest of the label is the same - Your old code need only to be re-compiled
- with the newly installed v1.2 - and You are on the way...
-
- How to install it?
- ------------------
-
- First of all find or create a directory for this component and copy following
- files to that place:
-
- LCD_LAB.DCU (LCD Engine)
- LCD_LAB.DCR (Palette icon)
- MATRIX.DCU (Character definitions)
-
-
- In Delphi 2.0, the installation is done via menu "Component->Install".
- Use the "Add" button to invoke the new component. Browse to the place
- were You put the label parts and select LCD_LAB.DCU. Press OK at two
- places to confirm the installation.
-
- With Delphi 3, use menu "Component->Install Component". As Unit file name,
- select LCD_LAB.DCU and leave rest as default. Press OK to finish the
- installation.
-
- The new component will appear in the Samples palette as LCDLabel with a new
- icon.
-
- If You have been using version 1.0 or 1.1 of this component (only valid for
- Delphi 2.X users), it is best to remove the old component before installing
- the new one.
-
-
- How to use it.
- --------------
-
- The use of this label is simple - it works in the way all Delphi components
- works. Every change done are shown at design time.
- A lot of new properties are avaiable to control the appearance of the label.
-
- Following properties are avaiable (* marks the new ones):
-
- * BackGround - Label background color.
- * BorderColor - Border color.
- * BorderSpace - Distance in pixels from border to characters.
- * BorderStyle - Border style - None, Lowered, Raised or Single.
-
- Note: This style are not compatible with the standard
- label styles AND LCDLabel 1.0/1.1 styles!
-
- Caption - The text shown in the display label. If more than one
- line is used, the entire label works as a single but
- broken line.
- * CharSpacing - Space between characters in the label.
- Cursor
- * DotMatrix - Type of "font" used in the display label.
- This label uses a built in character translation
- table instead of the system fonts. The reason for it
- is that I wanted the display look like the real ones.
- That also means that special characters does not work
- with this label (like special national characters).
-
- Following character matrixes are avaiable:
-
- + mat5x7 - 5 x 7 dots characters - this is the
- "standard" font, both in this label and on the
- real displays. This one supports ASCII 32-126.
-
- + mat5x8 - Same as above but by using a 5 x 8 dot
- matrix, it makes some characters looking better.
-
- + mat7x9 - Larger matrix, 7 x 9, allows nicer
- character display. ASCII 32-126.
-
- + mat9x12- Even more improved character look, but it
- takes more space on screen. ASCII 32-126.
-
- + Hitachi- An exact copy of the font setup used by
- all 5 x 7 dot matrix LCD's based on the Hitachi
- HD61830 controller (all 5 x 10 characters are
- converted to 5 x 7). It includes all strange
- japanese characters! It allows ASCII 32-223.
-
- + Hitachi2- Same as Hitachi but with extended character
- height. This makes the special characters looking
- better.
-
- + More "fonts" can be easily added on request.
- Enabled
- Height - Label height
- Left
- * LineSpacing - Distance between character lines in multi-line
- labels.
- Name - Name of the label.
- * NoOfChars - Number of characters on a single line.
- If multiple lines are used, all lines will have the
- same amount of characters.
- * PixelOff - Color of pixels in off state. These normally appears
- invisible or in a dimmed color.
- * PixelOn - Pixel on color. This is the character color as the
- text will appear in.
- * PixelShape - LCD Pixel shape. Controls the drawing of the LCD pixels.
- Three different shapes are avaiable. To see any effect,
- set PixelSize > 3x3. Suitable colors are also needed to
- see the effect. Following options are avaiable:
-
- + Square - Simple square pixels (default).
-
- + Shaped - Square pixels with "shaded" corners.
-
- + Round - circular pixels.
-
- Note: Shaped and Round pixels are slower than the Square
- due to circle drawing!
-
- * PixelSize - Size of each character pixel.
- * PixelSpacing - Space between each character pixel.
- Tag
- * TextLines - Number of text lines in the label.
- Top
- Visible
- Width - Label width
-
- About resizing - This label allows free resizing, but to avoid truncated
- characters, the selected size are rounded up to nearest full character.
- The same will appear when entering values for Width and Height.
- By using the size and distance properties of the label will calculate the
- correct Width and Height.
-
- The properties that are missing explanations works as described in the Delphi
- help file.
-
-
- History
- -------
-
- v1.2 - Updated 32bit version. Delphi 1 are not supported anymore but
- Delphi 3 are.
- New display options: beveled borders and different pixel shapes.
-
- v1.1 - The first 32bit version!
- Appearance updated to prevent flicker during caption change.
-
- v1.0 - The first and only version of this label yet.
-
- To make this list long, I need someone to use it and tell me about
- improvements and features missing (or bugs to be corrected).
-
-
- What to improve?
- ----------------
-
- - Help file!
- If someone knows how to do this, I will make one.
-
- - Make it 32bit <- Done! And for Delphi 3 too!
-
- - More border options (Bevels, shaded, any other ideas?).
- <- Beveled borders added - border width still to come...
-
- - Round character pixels - make them look like LED matrixes.
- <- Shaped pixels are a way to this but it is slow (shame on Windows...).
-
- - Make a multiple line label work like real multiple line text field.
-
- - Whatever You will find out...
-
-
- Freeware!
- ---------
-
- This component is Freeware!
- It can be used freely in any application for private use, just put a credit for
- me in Your About box...
- If You like it, send me a e-mail or a post card. Or if You want some
- improvements or have some good ideas, just do the same writing down Your ideas.
- If You don't like it or maybe find some bugs, contact me too and tell me what
- You have found.
- If the component is going to be used in a commersial application, contact me
- and we'll make up the deal.
-
-
-
- How to contact me?
- ------------------
-
- snail-mail:
-
- Peter Czidlina
-
- Kanalvaegen 6
- 136 73 Haninge
- Sweden
-
- e-mail: petercz@swipnet.se
- WWW : http://hem2.passagen.se/ebcpecz/
-